From: Richard M. Stallman Date: Fri, 11 Jun 1993 20:50:08 +0000 (+0000) Subject: (Fgenerate_new_buffer_name): GENTEMP is the value compare against IGNORE. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95395 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=638e4fc3ad80bb2d0e9c1114905fff7a4710bbb0;p=emacs.git (Fgenerate_new_buffer_name): GENTEMP is the value compare against IGNORE. --- diff --git a/src/buffer.c b/src/buffer.c index c08135b2e00..ebfaca85e97 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -362,7 +362,7 @@ even if a buffer with that name exists.") { sprintf (number, "<%d>", ++count); gentemp = concat2 (name, build_string (number)); - tem = Fstring_equal (name, ignore); + tem = Fstring_equal (gentemp, ignore); if (!NILP (tem)) return gentemp; tem = Fget_buffer (gentemp);